<?php
class Admin_Form_AddVctInfo extends Apps_Form {
	public function init() {
		$companyName = new Zend_Form_Element_Text('company_name',
					array(
						'label'			=> 'Company name',
						'filters'		=> array('StringTrim'))
				);

		$address = new Zend_Form_Element_Text('address_1',
				array(
						'label'			=> 'Address (Vi)',
						'filters'		=> array('StringTrim')
				)
		);

		$enAddress = new Zend_Form_Element_Text('en_address_1',
				array(
						'label'			=> 'Address (En)',
						'filters'		=> array('StringTrim')
				)
		);

		$website = new Zend_Form_Element_Text('website',
					array(
						'label'			=>	'Website',
						'filters'		=>	array('StringTrim')
						)
				);

		$emailContact = new Zend_Form_Element_Text('email_contact',
					array(
						'label'			=>	'Email contact',
						'validators'	=>	array('EmailAddress'),
						'filters'		=>	array('StringTrim')
						)
				);

		$emailInfo = new Zend_Form_Element_Text('email_info',
					array(
						'label'			=>	'Email info',
						'validators'	=>	array('EmailAddress'),
						'filters'		=>	array('StringTrim')
						)
				);

		$emailSales = new Zend_Form_Element_Text('email_sales',
					array(
						'label'			=>	'Email Sales',
						'validators'	=>	array('EmailAddress'),
						'filters'		=>	array('StringTrim')
						)
				);

		$tel = new Zend_Form_Element_Text('tel',
					array(
						'label'			=>	'Phone',
						'filters'		=>	array('StringTrim')
						)
				);

		$fax = new Zend_Form_Element_Text('fax',
					array(
						'label'			=>	'Fax',
						'filters'		=>	array('StringTrim')
						)
				);

		$hotline = new Zend_Form_Element_Text('hotline',
				array(
						'label'			=>	'Hotline',
						'filters'		=>	array('StringTrim')
				)
		);

		$contactPerson = new Zend_Form_Element_Text('contact_person',
					array(
						'label'			=>	'Contact person',
						'filters'		=>	array('StringTrim')
						)
				);

		$facebookLink = new Zend_Form_Element_Text('facebook_link',
					array(
						'label'			=>	'Link to Facebook',
						'filters'		=>	array('StringTrim')
						)
				);

		$twitterLink = new Zend_Form_Element_Text('twitter_link',
					array(
						'label'			=>	'Link to Twiter',
						'filters'		=>	array('StringTrim')
						)
				);

		$googleLink = new Zend_Form_Element_Text('google_link',
					array(
						'label'			=>	'Link to Google +',
						'filters'		=>	array('StringTrim')
						)
				);

		$yahooLink = new Zend_Form_Element_Text('yahoo_link',
					array(
						'label'			=>	'Link to Yahoo',
						'filters'		=>	array('StringTrim')
						)
				);

		$this->setLegend('VCT Information');
		$this->addElements(
				array(
						$companyName,
						$enAddress,
						$address,
// 				        $address2,
// 				        $enAddress2,
				        $website,
						$emailContact,
						$emailInfo,
						$emailSales,
						$tel,
						$fax,
						$hotline,
						$contactPerson,
						$facebookLink,
						$twitterLink,
				        $googleLink,
				        $yahooLink
						)
				);
		$this->addActionGroup();
		$this->makeup();
	}
}
